<?php 
define('TIPASK_ROOT', dirname(__FILE__));
define('SITE_URL','http://'.$_SERVER['HTTP_HOST'].'/shibei/tipask/');
define('DY_URL','http://'.$_SERVER['HTTP_HOST'].'/shibei/index.php/');

define('DB_HOST', '127.0.0.1');
define('DB_USER', 'shibei');
define('DB_PW', 'dongyueweb');
define('DB_NAME', 'shibei');
define('DB_CHARSET', 'utf8');
define('DB_TABLEPRE', 'ask_');
define('DB_CONNECT', 0);
define('TIPASK_CHARSET', 'UTF-8');
define('TIPASK_VERSION', '1.3Beta');
define('TIPASK_RELEASE', '20110214');
global $starttime,$querynum;$mtime = explode(' ', microtime());$runtime=number_format($mtime['1'] + $mtime['0'] - $starttime,6);

